package com.huawei.user.service;

import com.huawei.basic.service.IBaseService;
import com.huawei.user.domain.User;
import com.huawei.user.dto.UserDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liang
 * @since 2022-06-01
 */

public interface IUserService extends IBaseService<User> {
    /**
     * 获取验证码
     * @param user
     */
    void register(User user);

    /**
     * 手机号码注册
     * @param userDto
     */
    void phoneRegister(UserDto userDto);

    /**
     * 邮箱注册
     * @param userDto
     */
    void emailRegister(UserDto userDto);
}
